package com.dhcc.sdc.busi.service;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.dhcc.sds.base.entity.SdsQcformItemEntity;
import com.dhcc.sds.busi.dto.SdsQcFormItemDto;
import com.dhcc.sds.standard.dto.CdcExaminateDto;
import com.dhcc.sds.standard.dto.CdcLisReportDto;
import com.dhcc.sds.standard.dto.CdcNurDto;
import com.dhcc.sds.standard.dto.CdcOrdmastDto;

import javax.script.ScriptException;
import java.io.UnsupportedEncodingException;
import java.util.List;
import java.util.Map;

/**
 * 质控病种表单填报接口
 *
 * @ClassName: ISdcQcFormShowService
 * @Description: TODO
 * @author yanghangwei
 * @date 2024-03-01 10:09:15
 */
public interface ISdcQcFormShowService {
    /**
     * 查询前置条件并计算显示属性
     * @param mrListId 入组id
     * @param item
     * @return
     */
    Integer calcTriggerExp(Long mrListId, SdsQcformItemEntity item, Map<String, Object> map) throws ScriptException;

    List<SdsQcFormItemDto> getBusiItemResult(Long mrListId) throws Exception;
}
